package api

import (
	"reward-server/handler/wish"

	"github.com/gin-gonic/gin"
)

func WishRouter(Router *gin.RouterGroup) {
	r := Router.Group("/wish")
	{
		r.GET("get_owner", wish.GetOwner)     //获取管理员账户
		r.GET("get_number", wish.GetNumber)   //获取许愿次数
		r.GET("get_balance", wish.GetBalance) //获取钱包剩余金额
		r.POST("withdraw", wish.Withdraw)     //提现
	}
}
